import {createStore,applyMiddleware ,combineReducers} from "redux"
import countReducer from "./reducers/countReducer"
import movieReducer from "./reducers/movieReducer"
import thunk from "redux-thunk"
const movieMerge = combineReducers({
    movie : movieReducer,
    count : countReducer
})
const store = createStore(movieMerge,applyMiddleware(thunk))

export default store